import Vue from 'vue'
export default {

  /**
   * 登录接口
   * @param username
   * @param password
   */
  login (username,password,cb) {
    Vue.http.post('http://test.maweihe.com/user/login',{username:username,password:password}).then(response => {
      cb(response)
    },response=>{
      cb(response);
    });
  }
}
